![]() | ![]() | ![]() | ![]() |
In certain situations, you can create a drilldown graph for the web where the new target page opens in the current web page by adding TARGET="_self" to the value of the drilldown variable, as follows:
drillvar='TARGET="_self" HREF="http://www.sas.com"';
You can then specify HTML=DRILLVAR as part of your SAS/GRAPH® syntax, as follows:
proc gchart data=sashelp.class; vbar age / discrete html=drillvar; run; quit;
However, when using the ACTIVEX device driver with SAS® 9.2, the TARGET="_self" parameter is ignored and the new target page will open up in a new window. In addition, when using TARGET="_self" to execute a Javascript function upon drilldown, the Javascript function will not work at all. For example:
drillvar='TARGET="_self" HREF="javascript:javascriptfunction()"';
To circumvent this problem, remove the TARGET= parameter from the drilldown value and add PARAMETERS=("DrillTarget"="_self") to the ODS HTML statement as follows:
ods html file='sastest.html' parameters=("DrillTarget"="_self");
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS/GRAPH | z/OS | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 | ||
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows XP Professional | 9.2 TS1M0 | 9.3 TS1M0 | ||
Windows Vista | 9.2 TS1M0 | 9.3 TS1M0 | ||
64-bit Enabled AIX | 9.2 TS1M0 | 9.3 TS1M0 | ||
64-bit Enabled HP-UX | 9.2 TS1M0 | 9.3 TS1M0 | ||
64-bit Enabled Solaris | 9.2 TS1M0 | 9.3 TS1M0 | ||
HP-UX IPF | 9.2 TS1M0 | 9.3 TS1M0 | ||
Linux | 9.2 TS1M0 | 9.3 TS1M0 | ||
Linux for x64 | 9.2 TS1M0 | 9.3 TS1M0 | ||
OpenVMS on HP Integrity | 9.2 TS1M0 | 9.3 TS1M0 | ||
Solaris for x64 | 9.2 TS1M0 | 9.3 TS1M0 |